Skip to content

Automatically add CODEOWNERS as collaborators#49

Closed
StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:codeowners
Closed

Automatically add CODEOWNERS as collaborators#49
StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:codeowners

Conversation

@StanFromIreland

Copy link
Copy Markdown
Member

Closes #18

Following the plan set out by the issue. It gets a little complicated however, as there may be occasions where there is more then one PR open against main (this patch ignores all but the first), or when the PR is open against a branch other than main (I ignored the others as occasionally people open backports, but there may be scenarios where the vulnerability only affects certain branches).

Rather than dealing with the CODEOWNERS I found a PyPI package, codeowners, which can do it for us. It also conveniently splits users and teams.

It's not ideal IMO, but, we can always iterate.

It'll also be a good idea to explain and announce this somewhere, maybe the Devguide, as it may be a surprise for CODEOWNERS unfamiliar with the PSRT/GHSAs.

@StanFromIreland

Copy link
Copy Markdown
Member Author

Closed accidentally? But I don't see a button to re-open.

@sethmlarson

Copy link
Copy Markdown
Collaborator

Uh, strange. I also don't see a button to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automate adding collaborators based on PR modified changes

2 participants